package com.pro.h5case.common.mapper;

import java.util.List;
import java.util.Map;

import com.pro.h5case.common.model.BPlan;

public interface BPlanMapper {
    int deleteByPrimaryKey(Integer planId);
    
    int deleteByBPlan(Integer planId);
    
    int auditByPrimaryKey(Integer planId);

    int insert(BPlan record);

    int insertSelective(BPlan record);

    BPlan selectByPrimaryKey(Integer planId);

    int updateByPrimaryKeySelective(BPlan record);

    int updateByPrimaryKey(BPlan record);

	List<BPlan> selectPlanByMap(Map<String, Object> parameter);
	
	List<BPlan> selectBPlanByCondition(Map<String,Object> condition);
	
	int selectCountByCondition(Map<String,Object> condition);
	
	int countPlanByMap(Map<String, Object> parameter);
	
	int updateCountById(BPlan bPlan);

	int offlineByPrimaryKey(Integer planId);

	List<BPlan> selectSamePlanByMap(Map<String, Object> parameter);
	
	int countSamePlanByMap(Map<String, Object> parameter);
}